package com.maiji.cloud.service;

import com.baomidou.mybatisplus.service.IService;
import com.maiji.cloud.entities.login.ActivityShareRuleConfigEntity;
import com.maiji.cloud.response.BaseDataResDto;
import com.maiji.cloud.response.BaseResDto;
import com.maiji.cloud.response.login.ActivityShareRuleConfigResData;

public interface ActivityShareRuleConfigService extends IService<ActivityShareRuleConfigEntity>{

    /**
	 * 根据类型获取活动分享规则信息
	 * @param type
	 * @return
	 */
	BaseDataResDto<ActivityShareRuleConfigResData> getActivityShareRuleConfigByType(Integer type);

    BaseResDto add_updActivityShareRuleConfig(ActivityShareRuleConfigEntity shareRuleConfig) throws Exception;

}
